/*
 * @Description:
 * @Version: 1.0
 * @Autor: lzc
 * @Date: 2021-06-25 14:56:57
 * @LastEditors: lzc
 * @LastEditTime: 2021-07-14 13:18:50
 */
/*********************************************************************
*                     SEGGER Microcontroller GmbH                    *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 1996 - 2021  SEGGER Microcontroller GmbH                *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************
----------------------------------------------------------------------
File        : Application.c
Purpose     : Content to be managed by customer
---------------------------END-OF-HEADER------------------------------
*/

#include "Application.h"
WM_HWIN       my_hWin;

/**
 * @function: WM_Send_Key_Msg
 * @brief: 键值发送
 * @param {int} Screen_Num 窗口号
 * @param {int} Key         按键号
 * @param {int} Pressed     按下
 * @param {char} Focus      是否可以聚焦
 * @return {*}
 * @author: lzc
 */
void WM_Send_Key_Msg(int Screen_Num,int Key, int Pressed, char Focus)
{
    GUI_SendKeyMsg(Key, Pressed);
    if (!Focus)
        WM_SendMessageNoPara(WM_GetDialogItem(WM_GetActiveWindow(), Screen_Num), WM_KEY_USER_DEAL);
}


/*************************** End of file ****************************/
